package com.mall.service.marketing.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.SmsFlashPromotionProductRelation;
import com.mall.model.vo.PageResult;

public interface SmsFlashPromotionProductRelationService extends IService<SmsFlashPromotionProductRelation> {

    /**
     * 分页查询不同场次关联及商品信息
     * @param flashPromotionId
     * @param flashPromotionSessionId
     * @param pageSize
     * @param pageNum
     * @return
     */
    PageResult listWithProduct(Long flashPromotionId, Long flashPromotionSessionId, Integer pageNum, Integer pageSize);

    /**
     * 修改关联信息
     * @param id
     * @return
     */
    Integer update(Long id, SmsFlashPromotionProductRelation smsFlashPromotionProductRelation);
}
